<%--
  Created by IntelliJ IDEA.
  User: Wy
  Date: 2022/5/12
  Time: 23:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<jsp:include page="head.jsp"></jsp:include>


<jsp:useBean id="user" class="com.qf.User.User"></jsp:useBean>
<jsp:setProperty name="user" property="name" value="tom"></jsp:setProperty>
<jsp:setProperty name="user" property="age" value="10"></jsp:setProperty>
<jsp:setProperty name="user" property="gender" value="男"></jsp:setProperty>

<jsp:getProperty name="user" property="name"/>
<jsp:getProperty name="user" property="age"/>
<jsp:getProperty name="user" property="gender"/>

<jsp:forward page="index.jsp">
      <jsp:param name="userss" value="tom"/>
</jsp:forward>
<%--<%=user%>--%>
<jsp:include page="food.jsp"></jsp:include>
</body>
</html>
